﻿using System;
using System.Collections.Generic;
using System.Text;

namespace SharpMap.Utilities
{
   public abstract class BaseCommand
    {

       protected System.Drawing.Bitmap m_bitmap;
       protected System.String m_caption;
       protected System.String m_name;
       protected System.String m_toolTip;
       protected System.Boolean m_enabled;
       protected User m_user;
       public virtual  void OnClick()
       {

       }
       public abstract void OnCreate(System.Object hook);
       public string Tooltip
       {
           get
           {
               return m_toolTip;
           }
       }
       public  bool Enabled
       {
           get
           {
               return m_enabled;
           }

       }

       public User User
       {
           get
           {
               return m_user;
           }

           set
           {
               m_user = value;
           }
       }

       public string Name
       {
           get
           {
               return m_name;
           }
       }

       public string Caption
       {
           get
           {
               return m_caption;
           }
       }

    }
    
}
